<%- include('../header') %>
<head>
    <script src="/javascripts/chpwd.js"></script>
    <link href="/stylesheets/settings.css" rel="stylesheet">
    <link href="/stylesheets/style.css" rel="stylesheet">
</head>
<div id="wrapper">
    <div id="sidebar">
        <a href="/settings/profile" class="<%=item_name==='profile'?'active':''%>">修改密码</a>
        <% if(user==='admin') {%>
        <a href="/settings/general" class="<%=item_name==='general'?'active':''%>">通用设置</a>
        <a href="/settings/locations" class="<%=item_name==='locations'?'active':''%>">静态目标设置</a>
        <a href="/settings/markers" class="<%=item_name==='markers'?'active':''%>">动态目标设置</a>
        <a href="/settings/usersman" class="<%=item_name==='usersman'?'active':''%>">用户管理</a>
        <% } %>
    </div>
    <div id="container" style="padding:20px">
        <%- include('itm_'+item_name) %>
    </div>
</div>
<%- include('../footer') %>